History > VHS Quick Recovery

VHS Quick Recovery

The VHS Quick Recovery feature is designed to reduce service downtime in the event of an abnormal shutdown or database corruption. It allows the VHS service to restart immediately after failure, to become operational and begin receiving values from the current value services immediately. This feature eliminates the need to run the VHS Check Utility before restarting the service, which may take a prohibitively long time depending on the size of your database. It also eliminates the need to set up and run a temporary VHS while VHS Check is running.

VHS Quick Recovery is triggered during startup if the datastore fails to initialize. This scenario would likely be the result of hard drive failure or data corruption. In the event of an abnormal shutdown, ESE-based datastores are able to fully recover all flushed transactions without a need to run VHS Check to validate database integrity. See How ESE Works for more details.

When VHS Quick Recovery is triggered it will archive off the old "dirty" database, which may contain data corruption. The service will start with a new database and will immediately begin writing values from the current value services to this new clean database. Recent changes on the archived VHS Change Queue will be imported into the new database as long as the data passes data integrity checks. If VHS Journal Files have been created and saved for the service, data contained with them can also be imported into the clean database using the VHS Recovery Utility to restore the most recent data that was contained in the VHS prior to the service failure. Uncorrupted data from a "dirty" datastore can be recovered manually and transferred to the new database using the VHS Recovery utility.

When the service shuts down abnormally, the Quick Recovery process will not begin until the service is restarted. This can be done manually, or the service can be configured to restart automatically using Automatic Service Recovery. It may be useful to configure the service to restart automatically in the event the shutdown occurs at a time when it is inconvenient to restart the service manually. If you wish to configure automatic service recovery for the VHS service, see Configuring Automatic Service Recovery for the VHS.

If VHS Quick Recovery is enabled, the service cannot be configured to automatically run the VHS Check Utility. CygNet Software recommends that you do not run the VHS Check utility on a "dirty" database.

Configuring VHS Quick Recovery

Quick Recovery is enabled on the VHS with by setting the QUICK_RECOVERY_ENABLED VHS configuration file keyword to TRUE. See VHS Configuration File Keywords for more information.

You can configure a point with the SVCMON UDC, SVMVHSQRSU to track whether or not Quick Recovery was triggered when the VHS started up.


More:


Let us know how we can improve this topic.

CygNet at weatherford.com

© 2020 Weatherford. All rights reserved.